package com.delivery.deliverysystem.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 阿里账号配置类
 */
@Component
@ConfigurationProperties(prefix = "alipay") //配置类自动装配到alipay中
@Data //
@NoArgsConstructor //无参构造方法
@AllArgsConstructor //全参构造方法
public class AliAccountConfig {

    private String appId;

    private String privateKey;

    private String aliPayPublicKey;

    private String notifyUrl;

    private String returnUrl;
}
